package com.levi.controller;
import com.levi.controller.point.PonitControllerApi;
import com.levi.service.PointService;
import com.levi.vo.OrderDto;
import com.levi.vo.PointDto;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestBody;

/**
 * @author shentong
 * @since 2022/6/9 3:57 PM
 */
public class PointController implements PonitControllerApi{
    @Autowired
    private PointService pointService;

    @Override
    public boolean addPoint(@RequestBody PointDto pointDto) {
        return pointService.addPoint(pointDto);
    }
}
